<!-- sua bai viet-->

<?php
$data = $this->Admin_model->get_one('setting',array('id'=>1));
?>

<?php echo validation_errors(); ?>

<form method="POST" action="<?php echo base_url().'admin/xuly/setting/list/'.$this->uri->segment(5);?>">
<div class="box_heading">
    <div class="icon">
    <img src="<?php echo base_url().'skin/admin/images/icon_settings.png';?>"/> Sửa Tin tức ( <span style="color: red;"> * : không được để trống</span> )  <?php if(!empty($thongbao)){echo '<img src='.base_url().'template/admin/images/ok.png class="ok"><font color=red><b>'.$thongbao.'</b></font>';}?>
    </div>
    <div class="right">    
    <a href="<?php echo base_url().'admin/xuly/setting/edit/1';?>">Sửa</a>
    </div>
</div>

<div class="box_noidung">
<table class="form">
<tr><td style="width:200px"><font color=red>* </font>Tiêu đề</td><td><?php if(!empty($data)){echo $data->title;};?></td></tr>
<tr><td>Địa chỉ website</td><td><?php if(!empty($data)){echo $data->url;};?></td></tr>
<tr><td>Chủ quản</td><td><?php if(!empty($data)){echo $data->master;};?></td></tr>
<tr><td>Địa chỉ</td><td><?php if(!empty($data)){echo $data->address;};?></td></tr>
<tr><td>Email</td><td><?php if(!empty($data)){echo $data->email;};?></td></tr>
<tr><td>Điện thoại</td><td><?php if(!empty($data)){echo $data->phone;};?></td></tr>
<tr><td>Fax</td><td><?php if(!empty($data)){echo $data->fax;};?></td></tr>

<tr><td>Yahoo</td><td><?php if(!empty($data)){echo $data->yahoo;};?></td></tr>
<tr><td>Yahoo</td><td><?php if(!empty($data)){echo $data->yahoo1;};?></td></tr>


<tr><td></font>Meta Description</td><td><?php if(!empty($data)){echo $data->metades;};?></td></tr>
<tr><td></font>Meta Keywords</td><td><?php if(!empty($data)){echo $data->metakey;};?></td></tr>
<tr><td></font>Google analytics</td><td></td></tr>


<tr><td><font color=red>* </font>Nội dung Cuối trang</td><td><?php if(!empty($data)){echo $data->footer;};?></td></tr>
</table>
</div>
</form>
   